package com.qiyu.wakaka.common.enums;

/**
 * 商品排序规则
 * @Auther: bear
 * @Date: 2019/10/2 03:23
 * @Description:
 */
public enum OrderByEnum {

    COMMENT(1,"热度排行"),
    PRICE_HIGH(2,"价格降序"),
    PRICE_LOW(3,"价格升序");

    private Integer orderBy;
    private String msg;

    OrderByEnum(Integer orderBy, String msg) {
        this.orderBy = orderBy;
        this.msg = msg;
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public String getMsg() {
        return msg;
    }
}
